<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Sends the request and waits for a reply</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.radius-send-request" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">radius_send_request</h1>
  <p class="verinfo">(PECL radius &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">radius_send_request</span> &mdash; <span class="dc-title">Sends the request and waits for a reply</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.radius-send-request-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>radius_send_request</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$radius_handle</code></span>
   ) : <span class="type">int</span></div>

  <p class="para rdfs-comment">
   After the Radius request has been constructed, it is sent by
   <span class="function"><strong>radius_send_request()</strong></span>.
  </p>
  <p class="para">
   The <span class="function"><strong>radius_send_request()</strong></span> function sends the request and
   waits for a valid reply, retrying the defined servers in round-robin
   fashion as necessary.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.radius-send-request-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   If a valid response is received, <span class="function"><strong>radius_send_request()</strong></span>
   returns the Radius code which specifies the type of the response. This will
   typically be <strong><code>RADIUS_ACCESS_ACCEPT</code></strong>,
   <strong><code>RADIUS_ACCESS_REJECT</code></strong>, or
   <strong><code>RADIUS_ACCESS_CHALLENGE</code></strong>. If no valid response is
   received, <span class="function"><strong>radius_send_request()</strong></span> returns <strong><code>FALSE</code></strong>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.radius-send-request-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="radius_create_request.html" class="function" rel="rdfs-seeAlso">radius_create_request()</a> - Create accounting or authentication request</span></li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>